<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head><title>
  Impresi&oacute;n de Orden de Salida de Producto
</title>
<body style="background-color:White" >
  <div id="pnlMarcaAgua" style="width:650px;">        
    <table width="620" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td align="left" colspan="1" rowspan="2" style="width: 156px">
          <img id="ImgLogoEmpresa" src="/images/Becle.jpg" style="border-width:0px;" />
        </td>
        <td align="left" colspan="2" style="height: 35px; width: 378px;" >
        <span id="lblEmpresa" style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:Medium;font-weight:bold;">BECLE S.A. DE C.V</span></td>
        <td align="right" style="height: 35px; width: 100px; vertical-align:top; " valign="top" >
          &nbsp;<span id="lblPagina" style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:XX-Small;font-weight:bold;"></span>
        </td>
      </tr>
      <tr>
        
        <td align="left" colspan="3">
        <strong><span style="font-size: 10pt; font-family: Verdana">SALIDA DE PRODUCTO SIN CARGO AL ALMACEN</span></strong></td>
      </tr>
    </table>
    
    <table width="620" border="1" cellpadding="0" cellspacing="0">
      <tr> 
        <td style="width: 433;text-align: right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999"><b>DEFINITIVA 
              <input type="radio" name="radiobutton" value="radiobutton" checked>
              TEMPORAL 
              <input type="radio" name="radiobutton" value="radiobutton">
        </b></font></td>
        <td style="width:104" border="1" bgcolor="#EDEDEF"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#999999">FOLIO 
        SOLICITA</font></b></td>
        <td style="width:104;text-align:center"><B><%= @orden.consecutivo %></b></td>
      </tr>
    </table>
    <table width="620" border="1" cellpadding="0" cellspacing="0">
      <tr bgcolor="#EDEDEF"> 
        <td width="307"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">NOMBRE 
        DEL DESTINATARIO</font></b></td>
        <td width="307"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">DIRECCION 
        DEL DESTINATARIO</font></b></td>
      </tr>
      <tr> 
        <td width="307" align="left"><span class="Texto_Normal">
        <span id="lblNombreDestinatario"><%= @orden.centro.nombre_comercial %></span></span></td>
        <td width="307" align="left"><span class="Texto_Normal"> 
        <span id="lblDireccionDestinatario"><%= @orden.domicilio %></span></span></td>
      </tr>
    </table>
    <table width="620" border="1" cellpadding="0" cellspacing="0">
      <tr bgcolor="#EDEDEF" align="center"> 
        <td width="523"><div align="left"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">DIRECCION 
        DE EMBARQUE</font></b></div></td>
        <td width="91"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">NO. 
        TALON</font></b></td>
      </tr>
      <tr> 
        <td style="width:523px">&nbsp;</td>
        <td style="width:91">&nbsp;</td>
      </tr>
    </table>
    <table width="620" border="1" cellpadding="0" cellspacing="0">
      <tr align="center"> 
        <td rowspan="2" bgcolor="#EDEDEF" style="width: 113px"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">CODIGO</font></b></td>
        <td bgcolor="#EDEDEF" colspan="2"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">CANTIDAD</font></b></td>
        <td bgcolor="#EDEDEF" rowspan="2" style="width: 238px"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">DESCRIPCION</font></b></td>
        <td bgcolor="#EDEDEF" rowspan="2" style="width: 85px"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">C.C&nbsp;</font></b></td>
        <td bgcolor="#EDEDEF" rowspan="2" style="width: 94px"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">IMPORTE</font></b></td>
      </tr>
      <tr> 
        <td bgcolor="#EDEDEF" align="center" style="width: 53px"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">CAJAS</font></b></td>
        <td bgcolor="#EDEDEF" align="center" style="width: 52px"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">BOT</font></b></td>
      </tr>
    </table>
    
    <table width="620" border="1" cellpadding="0" cellspacing="0">
      <TR>
      <TD style="height: 43px; width: 634px;">
      <div id="pnlOSProductos" style="width:125px;">
        
        <div id="UpdatePanel1">
          
          <table width="620" cellspacing="1" cellpadding="1" border="0" >
            <% for p in @orden.detalles_becle %>
              <% if p.botellas > 0 %>
                <tr>
                  <td style="width: 111px;font-size:8pt;"><%= Producto.find(p.producto_id).clave %></td>
                  <td style="width: 54px;font-size:8pt;">&nbsp;</td>
                  <td style="width: 54px;text-align: center;font-size:8pt;"><%= p.botellas %></td>
                  <td style="width: 230px;font-size:8pt;"><%=h Producto.find(p.producto_id).descripcion %></td>
                  <td style="width: 85px;font-size:8pt;">&nbsp;</td>
                  <td style="width: 94px;font-size:8pt;"><%= number_to_currency(p.precio_publico * p.botellas) %></td>
                </tr>
              <% end %>
            <% end %>         
          </table>
          
        </div>
        
      </div>
      &nbsp;
      
    </table>  
    <table width="620" border="1" cellpadding="0" cellspacing="0">
      <tr> 
        <td bgcolor="#EDEDEF" width="108"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">TOTAL</font></b></td>
        <td style="width: 52px;text-align: center;font-size:8px;">0</td>
        <td style="width: 51px;text-align: center;font-size:8px;"><%= @total_botellas %></td>
        <td style="width: 238">&nbsp;</td>
        <td  bgcolor="#EDEDEF" width="85"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">TOTAL</font></b></td>
        <td style="width: 94px;text-align:center;font-size:8pt;"><%= number_to_currency(@total_importe) %></td>
      </tr>
    </table>
    <table width="620" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="height: 9px">&nbsp;</td>
        <td style="height: 9px">&nbsp;</td>
      </tr>
      
    </table>
    
    <table width="620" border="1" cellpadding="0" cellspacing="0">
      <tr> 
        <td bgcolor="#EDEDEF"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">OBSERVACIONES</font></b></td>
      </tr>
      <tr >
        <td align="left" style="height: 40px">
          <font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#333333">
            <span id="lblObservaciones"><%=h @orden.observaciones %>/<%= @leyenda %></span><br/>
            <% for p in @orden.orden_salida_presupuestos %>
              <%=h Familia.find(p.presupuesto.marca_id).nombre %>/<%=h Presupuesto::DESCRIPCION[p.presupuesto.rubro_id] %>/<%= number_to_currency(p.disponible) %><br/>
            <% end %>          
          </font>
        </td>
      </tr>
      <tr >
        <td height="40" align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#333333">AT'N: 
        <span id="lblEnAtencion"><%=h @orden.en_atencion_de %></span></font></td>
      </tr>
      
    </table>
    <table width="620" border="1" cellpadding="0" cellspacing="0">
      <tr bgcolor="#EDEDEF" align="center"> 
        <td colspan="2" height="22"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">ELABORO:</font></b></td>
        <td colspan="2" height="22"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">AUTORIZO 
        SOLICITUD:</font></b></td>
        <td colspan="2" height="22"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">REVISO:</font></b></td>
      </tr>
      <tr> 
        <td rowspan="2" width="118">&nbsp;</td>
        <td bgcolor="#EDEDEF" width="65" align="center"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">FECHA</font></b></td>
        <td rowspan="2" width="89">&nbsp;</td>
        <td bgcolor="#EDEDEF" width="71" align="center"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">FECHA</font></b></td>
        <td colspan="2">&nbsp;</td>
      </tr>
      <tr> 
        <td width="65">
        <span id="lblFechaElaboro" style="font-family:Verdana;font-size:6pt;"><%= @orden.created_at.to_date %></span></td>
        <td width="71">
        <span id="lblFechaAutorizo" style="font-family:Verdana;font-size:6pt;"><%= @orden.created_at.to_date %></span></td>
        <td rowspan="2" width="95">&nbsp;</td>
        <td rowspan="2" width="168">&nbsp;</td>
      </tr>
      <tr> 
        <td colspan="2" style="height: 5px"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><span id="lblPersona"><%= @ejecutivo.nombre_completo %></span></font></td>
        <td colspan="2" style="height: 5px"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><span id="lblJefe"><%= @jefe.nombre_completo %></span></font></td>
      </tr>
    </table>
    <table width="620" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="height: 14px"></td>
        <td style="height: 14px"></td>
      </tr>
      
    </table>
    <table width="620" border="1" cellpadding="0" cellspacing="0" >
      <tr> 
        <td bgcolor="#EDEDEF" align="center" colspan="4"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">PARA 
        USO EXCLUSIVO DEL CENTRO DE DISTRIBUCION</font></b></td>
      </tr>
      <tr> 
        <td bgcolor="#EDEDEF" align="center"  colspan="4"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">MOTIVOS</font></b></td>
      </tr>
      <tr> 
        <td width="284" style="font-size:8px;;font-family:verdana" height="13">REG.Y 
        OBS PROD TERMINADO &nbsp;9001 </td>
        <td width="23" style="font-size:8px;;font-family:verdana" height="13" >&nbsp; </td>
        <td width="279" style="font-size:8px;;font-family:verdana" height="13"  >REI. 
        INST. PROD.S/CARGO&nbsp;&nbsp;&nbsp;&nbsp;9010</td>
        <td width="24" style="font-size:8px;;font-family:verdana" height="13"  >&nbsp; </td>
      </tr>
      <tr> 
        <td width="284" style="font-size:8px;;font-family:verdana">RECLASIFICACIONES 
        9002 </td>
        <td width="23" style="font-size:8px;;font-family:verdana">&nbsp; </td>
        <td width="279" style="font-size:8px;;font-family:verdana">REI. INST. PROD. DEGUST 9011 </td>
        <td width="24" style="font-size:8px;;font-family:verdana">&nbsp; </td>
      </tr>
      <tr> 
        <td width="284" style="font-size:8px;;font-family:verdana">ROTURAS Y MERMAS 
        9003 </td>
        <td width="23" style="font-size:8px;;font-family:verdana">&nbsp; </td>
        <td width="279" style="font-size:8px;;font-family:verdana">TMK AUTOSERV. DEGUST. 9012 </td>
        <td width="24" style="font-size:8px;;font-family:verdana">&nbsp; </td>
      </tr>
      <tr> 
        <td  width="284" style="font-size:8px;;font-family:verdana" height="11" >RECLAMACION 
        DE SEGUROS 9004 </td>
        <td  width="23" style="font-size:8px;;font-family:verdana" height="11">&nbsp; </td>
        <td  width="279" style="font-size:8px;;font-family:verdana" height="11" >TMK 
        MAYORIST. DEGUST. 9013</td>
        <td  width="24" style="font-size:8px;;font-family:verdana" height="11" >&nbsp; </td>
      </tr>
      <tr> 
        <td  width="284" style="font-size:8px;;font-family:verdana">OBSEQUIOS MERCADOTECNIA 
        9005 </td>
        <td width="23" style="font-size:8px;;font-family:verdana">&nbsp; </td>
        <td width="279" style="font-size:8px;;font-family:verdana">CONTROL DE CALIDAD 
        9020 </td>
        <td width="24" style="font-size:8px;;font-family:verdana">&nbsp; </td>
      </tr>
      <tr> 
        <td width="284"style="font-size:8px;;font-family:verdana; height: 12px;">DEGUST. DE PERECEDEROS 
        9006 </td>
        <td width="23" style="font-size:8px;;font-family:verdana; height: 12px;">&nbsp; </td>
        <td width="279" style="font-size:8px;;font-family:verdana; height: 12px;">SALIDA DESTRUCCION 
        9023 </td>
        <td width="24" style="font-size:8px;;font-family:verdana; height: 12px;">&nbsp; </td>
      </tr>
      <tr> 
        <td width="284" style="font-size:8px;;font-family:verdana">CDC. BONIF/PRODUCCION 
        9007 </td>
        <td width="23" style="font-size:8px;;font-family:verdana">&nbsp; </td>
        <td width="279" style="font-size:8px;;font-family:verdana">REACONDICIONAMIENTO 
        9024 </td>
        <td width="24" style="font-size:8px;;font-family:verdana">&nbsp; </td>
      </tr>
      <tr> 
        <td width="284" style="font-size:8px;;font-family:verdana">CDC. INCEN/PRODUCCION 
        9008 </td>
        <td width="23" style="font-size:8px;;font-family:verdana">&nbsp; </td>
        <td width="279"  style="font-size:8px;;font-family:verdana" >REACONDIC. SUCURSAL 9025 </td>
        <td width="24" style="font-size:8px;;font-family:verdana">&nbsp; </td>
      </tr>
      <tr> 
        <td width="284" style="font-size:8px;;font-family:verdana">CDC. PATROCI/PRODUCCION 
        9009 </td>
        <td width="23"style="font-size:8px;;font-family:verdana">&nbsp; </td>
        <td width="279" style="font-size:8px;;font-family:verdana">ROTURAS Y MERMAS 
        9026 </td>
        <td width="24" style="font-size:8px;;font-family:verdana">&nbsp; </td>
      </tr>
      <tr> 
        <td bgcolor="#EDEDEF" colspan="4">&nbsp;</td>
      </tr>
    </table>
    
    <table width="620" border="1" cellpadding="0" cellspacing="0">
      <tr align="center"> 
        <td colspan="2"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">AUTORIZO 
        FIRMA</font></b></td>
        <td width="83"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">FECHA</font></b></td>
        <td width="201"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">RECIBO 
        NOMBRE Y FIRMA</font></b></td>
        <td width="158"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">SELLO 
        DE ALMACEN</font></b></td>
      </tr>
      <tr> 
        <td colspan="2" height="39">&nbsp;</td>
        <td width="83" height="39">
        <span id="lblFechaFinal" style="font-family:Verdana;font-size:7pt;"><%= Time.now.to_date %></span></td>
        <td width="201" height="39">&nbsp;</td>
        <td rowspan="4" height="97">&nbsp;</td>
      </tr>
      <tr> 
        <td width="120"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">Alm:</font></b></td>
        <td colspan="3">&nbsp;</td>
      </tr>
      <tr> 
        <td colspan="3" align="left" valign="top" rowspan="2"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">FOLIO 
        SAP: </font></b></td>
        <td width="201" height="15"><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#999999">SURTIO 
        NOMBRE Y FIRMA</font></b></td>
      </tr>
      <tr> 
        <td width="201" height="43"><b></b></td>
      </tr>
      
    </table>
    
    
  </div> 
  <input type="hidden" name="hfCDCId" id="hfCDCId" value="1639" />
  
  
  
  
  <input type="hidden" name="hfInicio" id="hfInicio" value="0" />
  
  <input type="hidden" name="hfFin" id="hfFin" value="1" />
  <input type="hidden" name="hfDirCDC" id="hfDirCDC" />
  <input type="hidden" name="hfNumProductos" id="hfNumProductos" value="1" />
  <input type="hidden" name="hfNombreCDC" id="hfNombreCDC" />
  
  
  </div> 
</body>
</html>
